package com.ruoyi.ResLipstick.mapper;

import com.ruoyi.ResLipstick.domain.ResLipstick;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface ResLipstickMapper {
    //1.获取所有口红列表   董虹妤2619
    public List<ResLipstick> getLipstickList(ResLipstick lipstick);

    //2.根据id获取口红详情  董虹妤2619
    @Select("select * from res_lipstick where id = #{id}")
        public ResLipstick getLipstickById(Long id);
    //3.新增口红   董虹妤2619
    public int insertResLipstick(ResLipstick lipstick);
    //4.修改口红  董虹妤2619
    public int updateResLipstick(ResLipstick lipstick);
    //5.删除口红  董虹妤2619
    public int deleteResLipstick(int id);
}
